/*
 * 版本： 4.0
 * 日期：2016/12/13 11:09:07
 * 
 * 描述：实体类
 * 
 */

using System;
using System.Collections.Generic;
using Game.Kernel;

namespace Game.Entity.Treasure
{
    /// <summary>
    /// 实体类 RoomCardConfig  (属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class RoomCardConfig
    {
        #region 常量 

        /// <summary>
        /// 表名
        /// </summary>
        public const string Tablename = "RoomCardConfig";

        #endregion 

        #region 私有变量

        private int p_configid;
        private int p_roomcard;
        private decimal p_currency;
        private decimal p_amount;
        private int p_sortid;
        private byte p_nullity;
        private DateTime p_collectdate;

        #endregion

        #region 构造函数 

        /// <summary>
        /// 初始化RoomCardConfig
        /// </summary>
        public RoomCardConfig() 
        {
            p_configid = 0;
            p_roomcard = 0;
            p_currency = 0;
            p_amount = 0;
            p_sortid = 0;
            p_nullity = 0;
            p_collectdate = DateTime.Now;
        }

        #endregion

        #region 公共属性 

        /// <summary>
        /// ConfigID
        /// </summary>
        public int ConfigID
        {
            set
            {
                p_configid=value;
            }
            get
            {
                return p_configid;
            }
        }

        /// <summary>
        /// RoomCard
        /// </summary>
        public int RoomCard
        {
            set
            {
                p_roomcard=value;
            }
            get
            {
                return p_roomcard;
            }
        }

        /// <summary>
        /// Currency
        /// </summary>
        public decimal Currency
        {
            set
            {
                p_currency=value;
            }
            get
            {
                return p_currency;
            }
        }

        /// <summary>
        /// Amount
        /// </summary>
        public decimal Amount
        {
            set
            {
                p_amount=value;
            }
            get
            {
                return p_amount;
            }
        }

        /// <summary>
        /// SortID
        /// </summary>
        public int SortID
        {
            set
            {
                p_sortid=value;
            }
            get
            {
                return p_sortid;
            }
        }

        /// <summary>
        /// Nullity
        /// </summary>
        public byte Nullity
        {
            set
            {
                p_nullity=value;
            }
            get
            {
                return p_nullity;
            }
        }

        /// <summary>
        /// CollectDate
        /// </summary>
        public DateTime CollectDate
        {
            set
            {
                p_collectdate=value;
            }
            get
            {
                return p_collectdate;
            }
        }

        #endregion
    }
}

